package com.jcl.cloud.services.gateway.service;


import com.jcl.cloud.services.gateway.common.task.BuyResumeReq;
import com.jcl.cloud.services.gateway.common.task.BuyResumeRsp;
import com.jcl.cloud.services.unicrawler.client.CrawlerManagerClient;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class BuyResumeTaskService {

    @Autowired
    private CrawlerManagerClient crawlerManagerClient;


    public BuyResumeRsp createBuyResumeTask(BuyResumeReq buyResumeReq){

         BuyResumeRsp buyResumeRsp = this.crawlerManagerClient.buyResume(buyResumeReq);
         return buyResumeRsp;
    }

}
